package com.hqyj.shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2024-10-15 03:22:38
 */
@Getter
@Setter
@TableName("recipient")
public class Recipient implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 收货人姓名
     */
    @TableField("name")
    private String name;

    /**
     * 地址
     */
    @TableField("address")
    private String address;

    /**
     * 电话
     */
    @TableField("phone")
    private String phone;

    /**
     * 邮政编码
     */
    @TableField("post_code")
    private String postCode;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 是否是默认收货地址 0 不是默认 1默认
     */
    @TableField("default_tag")
    private Integer defaultTag;

    /**
     * 0 未删除 1 删除
     */
    @TableField("delete_tag")
    private Integer deleteTag;


}
